From: Jonas Ã…dahl Date: Thu, 4 May 2017 07:45:41 +0000 (+0800) Subject: st-icon: Remove unused fields X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~258 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=60e7db71260ed2f8e22760c52bcf6288e1bfe6ba;p=gnome-shell.git st-icon: Remove unused fields They were set but then never accessed. https://bugzilla.gnome.org/show_bug.cgi?id=765011 --- diff --git a/src/st/st-icon.c b/src/st/st-icon.c index 5fc91a4f6..8fd82d512 100644 --- a/src/st/st-icon.c +++ b/src/st/st-icon.c @@ -55,8 +55,6 @@ struct _StIconPrivate GIcon *fallback_gicon; CoglPipeline *shadow_pipeline; - float shadow_width; - float shadow_height; StShadow *shadow_spec; }; @@ -267,8 +265,6 @@ st_icon_init (StIcon *self) self->priv->prop_icon_size = -1; self->priv->shadow_pipeline = NULL; - self->priv->shadow_width = -1; - self->priv->shadow_height = -1; } static void @@ -286,8 +282,6 @@ st_icon_update_shadow_pipeline (StIcon *icon) &width, &height); priv->shadow_pipeline = _st_create_shadow_pipeline_from_actor (priv->shadow_spec, priv->icon_texture); - priv->shadow_width = width; - priv->shadow_height = height; } }